package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class PaiDanList {

    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "total")
    private int total;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsDTO> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsDTO> records) {
        this.records = records;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class RecordsDTO {
        @JSONField(name = "applyCount")
        private int applyCount;
        @JSONField(name = "visitCount")
        private int visitCount;
        @JSONField(name = "area")
        private String area;
        @JSONField(name = "category")
        private String category;
        @JSONField(name = "content")
        private String content;
        @JSONField(name = "faceAuth")
        private boolean faceAuth;
        @JSONField(name = "id")
        private String id;
        @JSONField(name = "memberImg")
        private String memberImg;
        @JSONField(name = "mid")
        private String mid;
        @JSONField(name = "nickname")
        private String nickname;
        @JSONField(name = "online")
        private String online;
        @JSONField(name = "price")
        private String price;
        @JSONField(name = "realNameAuth")
        private boolean realNameAuth;

        public int getApplyCount() {
            return applyCount;
        }

        public void setApplyCount(int applyCount) {
            this.applyCount = applyCount;
        }

        public int getVisitCount() {
            return visitCount;
        }

        public void setVisitCount(int visitCount) {
            this.visitCount = visitCount;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public boolean isFaceAuth() {
            return faceAuth;
        }

        public void setFaceAuth(boolean faceAuth) {
            this.faceAuth = faceAuth;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMemberImg() {
            return memberImg;
        }

        public void setMemberImg(String memberImg) {
            this.memberImg = memberImg;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getOnline() {
            return online;
        }

        public void setOnline(String online) {
            this.online = online;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public boolean isRealNameAuth() {
            return realNameAuth;
        }

        public void setRealNameAuth(boolean realNameAuth) {
            this.realNameAuth = realNameAuth;
        }
    }
}
